/**
 * Copyright &copy; com.nmf All rights reserved.
 */
package com.nmf.site.biz.sms.gen.entity;

import org.hibernate.validator.constraints.Length;
import java.util.Date;

import com.nmf.site.common.persistence.DataEntity;

/**
 * 短信Entity
 * @author 北冥
 * @version 2018-04-06
 */
public class BizSms extends DataEntity<BizSms> {
	
	private static final long serialVersionUID = 1L;
	private String telNo;		// 手机号
	private String code;		// 验证码
	private String smsType;		// 验证码类型
	private String reqStr;		// 请求报文
	private String rspStr;		// 响应报文
	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间
	
	public BizSms() {
		super();
	}

	public BizSms(String id){
		super(id);
	}

	@Length(min=0, max=255, message="手机号长度必须介于 0 和 255 之间")
	public String getTelNo() {
		return telNo;
	}

	public void setTelNo(String telNo) {
		this.telNo = telNo;
	}
	
	@Length(min=0, max=255, message="验证码长度必须介于 0 和 255 之间")
	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}
	
	@Length(min=0, max=255, message="验证码类型长度必须介于 0 和 255 之间")
	public String getSmsType() {
		return smsType;
	}

	public void setSmsType(String smsType) {
		this.smsType = smsType;
	}
	
	public String getReqStr() {
		return reqStr;
	}

	public void setReqStr(String reqStr) {
		this.reqStr = reqStr;
	}
	
	public String getRspStr() {
		return rspStr;
	}

	public void setRspStr(String rspStr) {
		this.rspStr = rspStr;
	}
	
	public Date getBeginCreateDate() {
		return beginCreateDate;
	}

	public void setBeginCreateDate(Date beginCreateDate) {
		this.beginCreateDate = beginCreateDate;
	}
	
	public Date getEndCreateDate() {
		return endCreateDate;
	}

	public void setEndCreateDate(Date endCreateDate) {
		this.endCreateDate = endCreateDate;
	}
		
}